
public class Test {
	public static void main(String [] args){
		Ball ball = new Ball(2);
		Cylinder cylinder = new Cylinder(2,5);
		Cone cone = new Cone(4,2,1);
		Circle circle = new Circle(5);
		Rectangle rectangle = new Rectangle(3,5);
		Trigon trigon = new Trigon(2,3,4,1);
		System.out.println(ball.toString());
		System.out.println(cylinder.toString());
		System.out.println(cone.toString());
		System.out.println(circle.toString());
		System.out.println(rectangle.toString());
		System.out.println(trigon.toString());
	}

}
